package com.openbravo.pos.printer.escpos;

import com.openbravo.pos.forms.AppLocal;
import com.openbravo.pos.printer.DeviceDisplay;
import com.openbravo.pos.printer.DeviceDisplayBase;
import com.openbravo.pos.printer.DeviceDisplayImpl;
import javax.swing.JComponent;

public abstract class DeviceDisplaySerial
  implements DeviceDisplay, DeviceDisplayImpl
{
  private String m_sName;
  protected PrinterWritter display;
  protected DeviceDisplayBase m_displaylines = new DeviceDisplayBase(this);

  protected void init(PrinterWritter paramPrinterWritter)
  {
    this.m_sName = AppLocal.getIntString("Printer.Serial");
    this.display = paramPrinterWritter;
    initVisor();
  }

  public String getDisplayName()
  {
    return this.m_sName;
  }

  public String getDisplayDescription()
  {
    return null;
  }

  public JComponent getDisplayComponent()
  {
    return null;
  }

  public void writeVisor(int paramInt, String paramString1, String paramString2)
  {
    this.m_displaylines.writeVisor(paramInt, paramString1, paramString2);
  }

  public void writeVisor(String paramString1, String paramString2)
  {
    this.m_displaylines.writeVisor(paramString1, paramString2);
  }

  public void clearVisor()
  {
    this.m_displaylines.clearVisor();
  }

  public abstract void initVisor();
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.printer.escpos.DeviceDisplaySerial
 * JD-Core Version:    0.6.0
 */